package com.fdb.efp.cus.service.dao;

import com.fdb.efp.cus.service.domain.PartnerInfo;
import com.fdb.efp.cus.service.vo.PartnerInfoVO;

import java.util.List;

/**
 * <p>DAO interface:合作方信息表				<p>
 * @author ligm
 * @date 2019-09-04
 */
public interface PartnerInfoDao {
	
	public int insertPartnerInfo(PartnerInfo partnerInfo);
	
	public int deleteByPk(PartnerInfo partnerInfo);
	
	public int updateByPk(PartnerInfo partnerInfo);
	
	public PartnerInfo queryByPk(PartnerInfo partnerInfo);
	
	public List<PartnerInfo> queryAllOwnerByPage(PartnerInfoVO partnerInfo);
	
	public List<PartnerInfo> queryAllCurrOrgByPage(PartnerInfoVO partnerInfo);
	
	public List<PartnerInfo> queryAllCurrDownOrgByPage(PartnerInfoVO partnerInfo);

	public PartnerInfo queryByIdAndName(PartnerInfo partnerInfo);

	public PartnerInfo queryBySimName(PartnerInfo partnerInfo);

	public PartnerInfo queryByName(PartnerInfo partnerInfo);

	public int inValidPartnerOverCooprEndDt();

}
